<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
    <title>Установка HWD VideoTracker</title>
    <base href="{%base_url%}" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link type="text/css" rel="stylesheet" href="{%base_url%}styles/admin.css" />
    <script type="text/javascript" src="{%base_url%}scripts/jquery.js"></script>
    <script type="text/javascript">
    var base_url = '{%base_url%}';
    </script>
</head>
<body>
    <div id="all">
        <div id="header">
            <img src="images/admin/logo.png" alt="HWD VideoTracker" width="229" height="28" class="logo" />
        </div>
        <div class="d"></div>
        <div id="content">
            {%page_message%}
            <h1>Установка HWD VideoTracker</h1>
            <p class="install-hint">
                Добро пожаловать в программу установки <b>HWD VideoTracker</b>.<br />
                Укажите доступ к базе данных и введите базовые настройки сайта.
            </p>
            <form action="" method="post">
            <input type="hidden" name="edit" value="1" />
            <table>
            <tr>
                <td colspan="2">
                    <h2>База данных</h2>
                </td>
            </tr>
            <tr>
               <td class="w100">
                  Сервер <span class="required">*</span>
               </td>
               <td>
                  <input type="text" name="db_host" value="{%db_host%}" size="30" class="i" />
                  {%error_db_host%}
               </td>
            </tr>
            <tr>
               <td>
                  Пользователь <span class="required">*</span>
               </td>
               <td>
                  <input type="text" name="db_user" value="{%db_user%}" size="30" class="i" />
                  {%error_db_user%}
               </td>
            </tr>
            <tr>
               <td>
                  Пароль
               </td>
               <td>
                  <input type="text" name="db_pass" value="{%db_pass%}" size="30" class="i" />
                  {%error_db_pass%}
               </td>
            </tr>
            <tr>
               <td>
                  База данных <span class="required">*</span>
               </td>
               <td>
                  <input type="text" name="db_name" value="{%db_name%}" size="30" class="i" />
                  {%error_db_name%}
               </td>
            </tr>
            <tr>
                <td colspan="2">
                    <h2>Настройки сайта</h2>
                </td>
            </tr>
            <tr>
               <td>
                  Название сайта <span class="required">*</span>
               </td>
               <td>
                  <input type="text" name="site_name" value="{%site_name%}" size="30" class="i" />
                  {%error_site_name%}
               </td>
            </tr>
            <tr>
               <td>
                  Слоган сайта
               </td>
               <td>
                  <input type="text" name="site_slogan" value="{%site_slogan%}" size="30" class="i" />
                  {%error_site_slogan%}
               </td>
            </tr>
            <tr>
               <td>
                  Email сайта <span class="required">*</span>
               </td>
               <td>
                  <input type="text" name="site_email" value="{%site_email%}" size="30" class="i" />
                  {%error_site_email%}
               </td>
            </tr>
            <tr>
                <td colspan="2">
                    <h2>Активация</h2>
                </td>
            </tr>
            <tr>
               <td>
                  Активация для:
               </td>
               <td>
                  <input type="text" name="license" value="{%license%}" size="30" class="i" />
                  {%error_license%}
               </td>
            </tr>
            <tr>
               <td colspan="2">
                  &nbsp;
               </td>
            </tr>
            <tr>
               <td colspan="2">
                  <input type="submit" value="Установить" class="b" />
               </td>
            </tr>
            </table>
            </form>
        </div>
        <div class="clr"></div>
        <div id="footer">
            <div class="right"></div>
            <div class="left">
                &copy; 2010, <a href="http://hwdteam.ru" class="copy">HWD Team</a>
            </div>
        </div>
    </div>
</body>
</html>
